package com.auxgroup.smarthome.enterprise.vo;

import java.util.List;

/**
 * Created by kevinchen on 2017/3/20.
 */
public class GateWayDeviceVo {
    private String did;
    private String mac;
    private int is_online; //是否在线,在线为1,不在线为0
    private int is_faulty; //是否故障,故障为1,无故障为0
    private int latest_online; //最后一次上线时间
    private int created_at; //激活时间

    private String country; //国家

    private String region; //区域

    private String city; //城市

    private List<GateWayDeviceVo> childDevices;

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public int getIs_online() {
        return is_online;
    }

    public void setIs_online(int is_online) {
        this.is_online = is_online;
    }

    public int getIs_faulty() {
        return is_faulty;
    }

    public void setIs_faulty(int is_faulty) {
        this.is_faulty = is_faulty;
    }

    public int getLatest_online() {
        return latest_online;
    }

    public void setLatest_online(int latest_online) {
        this.latest_online = latest_online;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public List<GateWayDeviceVo> getChildDevices() {
        return childDevices;
    }

    public void setChildDevices(List<GateWayDeviceVo> childDevices) {
        this.childDevices = childDevices;
    }

    public GateWayDeviceVo(){

    }
}
